package org.jeecg.modules.sg.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 人员费用明细
 * @Author: jeecg-boot
 * @Date:   2022-09-30
 * @Version: V1.0
 */
@Data
@TableName("sg_person_fee_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sg_person_fee_detail对象", description="人员费用明细")
public class SgPersonFeeDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**月份*/
	@Excel(name = "月份", width = 15)
    @ApiModelProperty(value = "月份")
    private java.lang.String month;
	/**人员*/
    @ApiModelProperty(value = "人员")
    @Excel(name = "人员", width = 15, dictTable = "sg_person", dicText = "name", dicCode = "id")
    @Dict(dictTable = "sg_person", dicText = "name", dicCode = "id")
    private java.lang.String personId;
    /**人员身份证号*/
    @Excel(name = "人员身份证号", width = 15)
    @ApiModelProperty(value = "人员身份证号")
    private java.lang.String idcard;
    /**房间号*/
    @Excel(name = "房间号", width = 15, dictTable = "sg_room", dicText = "name", dicCode = "id")
    @Dict(dictTable = "sg_room", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "房间号")
    private java.lang.String roomId;
    /**床位号*/
    @Excel(name = "床位号", width = 15, dictTable = "sg_berth", dicText = "name", dicCode = "id")
    @Dict(dictTable = "sg_berth", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "床位号")
    private java.lang.String berthId;
	/**入宿日期*/
	@Excel(name = "入宿日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "入宿日期")
    private java.util.Date inRoomDate;
	/**退宿日期*/
	@Excel(name = "退宿日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "退宿日期")
    private java.util.Date outRoomDate;
	/**入住天数*/
	@Excel(name = "入住天数", width = 15)
    @ApiModelProperty(value = "入住天数")
    private java.lang.Integer inRoomDays;
	/**冷水费*/
	@Excel(name = "冷水费", width = 15)
    @ApiModelProperty(value = "冷水费")
    private java.lang.Double coolFee;
	/**热水费*/
	@Excel(name = "热水费", width = 15)
    @ApiModelProperty(value = "热水费")
    private java.lang.Double hotFee;
	/**电费*/
	@Excel(name = "电费", width = 15)
    @ApiModelProperty(value = "电费")
    private java.lang.Double powerFee;
    /**状态*/
    @Excel(name = "状态", width = 15, dicCode = "ryzt")
    @Dict(dicCode = "ryzt")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
}
